#! /bin/bash
mkdir -p ./build/data
cp -r ~/Documents/mycode/SBDoc/Server ./build/
cp -r ~/Documents/mycode/SBDoc/Client ./build/
cp ~/Documents/mycode/SBDoc/*.json ./build/
sed -i 's#/html/web/controller/index/index.html#/html/web/controller/login/login.html#' ./build/Server/app.js 
docker build -t ecp/doclever-web-server:5.6.0 .
rm -rf ./build
